<template>
  <h2 class="text-center">
    <img
      src="./assets/vite.png"
      alt="vite logo"
      class="vite_img" />
    <span>按需加载组件</span>
  </h2>
  <!-- <SButton>按钮</SButton> -->
  <!-- <SCard></SCard> -->
  <RouterView />
</template>

<script setup lang="ts">
// import { SButton, SCard } from './index'
import { RouterView } from "vue-router"
</script>

<style lang="scss" scoped>
.text-center {
  display: flex;
  justify-content: center;
  .vite_img {
    width: 30px;
    height: 30px;
  }
}
</style>
